package universityModel.organization;

import universityModel.utils.OutputControl;


/**
 *
 * @author Parkhomenko Dmytro
 */

abstract public class EduEstabl extends OutputControl{
    protected EstablInfo establInfo;
    protected double budget;
    
    public EduEstabl(EstablInfo establInfo) {
      this.establInfo = establInfo;
    }
    
    public void setBudget(double cash) {
        budget = cash;
    }   
    
    public String getName() {
        return establInfo.getName();
    }
}